﻿using CommunityToolkit.Mvvm.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FantomNext.Helpers
{
    public static class IocHelper
    {
        public static T GetService<T>() where T : class
        {
            return Ioc.Default.GetService<T>();
        }
    }
}
